pp108 : Using Abort Transaction Action

Using Abort Transaction Action

This topic describes the procedure to attach an abort action to a rule.

This task applies while defining the action of a rule or a decision table.

  1. In the Rule Definition pane, right-click then and select Actions > Abort Transaction.
  2. Type the name of the action in the Action Name field. For more information on naming the action, refer to Guidelines for Naming Rule Actions.
  3. Type the abort message in the text box below the Action Name field. The following table describes the types of abort messages:

    Option

    Description

    Static Abort Messages

    Static abort messages are strings delimited by double quotes.For example ("Error Occurred ").

    Dynamic abort messages

    Dynamic abort messages allow you to include values of runtime variables in the abort message. In the above example, the message is delimited with double-quotes (" "), and the variables should be concatenated with the abort message. For Example:concat("Error occurred due to Invalid OrderId:", Order/OrderId)


  4. Click Add. The type of action along with the name is displayed after then in the Rule Definition pane.
    Note: To add more Abort actions, repeat the task.